package 爱丽丝的人偶;

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        int i = 1, j = n, k = 0;
        int[] ans = new int[n];
        while (i <= j) {
            if (i == j) {
                System.out.print(i);
            } else {
                System.out.print(i + " ");
                System.out.print(j + " ");
            }
            i++;
            j--;
        }
    }
}
